import { _decorator, Component, Node, Button } from 'cc';
import { IView } from '../../frame/common/view/IView';
import { ViewComponent } from '../../frame/common/view/ViewComponent';
import { DemoViewCtrl } from './DemoViewCtrl';
const { ccclass, property } = _decorator;

@ccclass('DemoView')
export class DemoView extends ViewComponent implements IView {

    @property(Button)
    btn_test1: Button = null

    get myViewCtrl(): DemoViewCtrl {
        return this._viewCtrl as DemoViewCtrl;
    }

    start() {

    }

    update(deltaTime: number) {

    }

    dispose(){
        
    }
}

